﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MvcApplication2.Controllers
{
    public class TestController : Controller
    {
        //
        // GET: /Test/

        public ActionResult Index()
        {


            return View();
        }

        public string About(TestModel model)
        {

            return model.ToJson();
            //return View();
        }
        public class TestModel
        {
            public int ID { get; set; }
            public string Name { get; set; }

        }

    }
}
